package com.liu.serialization;

import java.io.Serializable;

/**
 * @param
 * @BelongsProject: MessageQueueDEMO
 * @BelongsPackage: com.liu.util
 * @author: L
 * @Date: 2023/10/13 10:57
 * @return
 */
public interface Serialization extends Serializable {

    Boolean support(SerializationTypeEnum serializationType);

    <T> T deserialization(Class<T> clazz,byte[] object);

    byte[] serialization(Object object);
}
